configure: fix "AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS"
authorIgnacio Casal Quinteiro <icq@gnome.org>
Wed, 29 Jun 2016 13:14:00 +0000 (15:14 +0200)
committerIgnacio Casal Quinteiro <icq@gnome.org>
Wed, 29 Jun 2016 13:16:54 +0000 (15:16 +0200)
configure.ac

index 4971ad313d95cc5eaa605d119eb73564db662618..ae3894017b96f955b0e2c648a27d65073a7568df 100644 (file)
@@ -161,6 +161,9 @@ AC_PROG_MKDIR_P
 AC_PROG_INSTALL
 AC_PROG_MAKE_SET
 
+# Define _GNU_SOURCE etc. where appropriate, e.g. for strptime() on glibc
+AC_USE_SYSTEM_EXTENSIONS
+
 # i18n stuff
 AM_GNU_GETTEXT([external])
 AM_GNU_GETTEXT_VERSION([0.19.7])
@@ -208,9 +211,6 @@ case $host in
     ;;
 esac
 
-# Define _GNU_SOURCE etc. where appropriate, e.g. for strptime() on glibc
-AC_USE_SYSTEM_EXTENSIONS
-
 dnl
 dnl Check for a working C++ compiler, but do not bail out, if none is found.
 dnl We use this for an automated test for C++ header correctness.